
<template>
<!--
router-link:会渲染成a标签
编译后：<a href="#/xw" class="">百度新闻</a>
-->
  <router-link to="/">home</router-link>|
  <router-link to="/xw">新闻</router-link>|
<router-view></router-view>
</template>